package Facades;

import Entities.Estado;
import Controllers.EstadoFacade;
import java.io.Serializable;
import javax.annotation.PostConstruct;
import javax.inject.Named;
import javax.inject.Inject;
import javax.enterprise.context.SessionScoped;

@Named(value = "estadoController")
@SessionScoped
public class EstadoController extends AbstractController<Estado> implements Serializable {

    @Inject
    private EstadoFacade ejbFacade;

    public EstadoController() {
        super(Estado.class);
    }

    @PostConstruct
    public void init() {
        super.setFacade(ejbFacade);
    }
}
